package com.guguskins.back.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * roll房的背景图
 * </p>
 *
 * @author mybatis-plus
 * @since 2021-08-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("gu_roll_image")
public class GuRollImage extends Model<GuRollImage> {

    private static final long serialVersionUID = 1L;
    @TableId(value = "ri_id", type = IdType.AUTO)
    private Integer riId;

    private String riImageUrl;

    private LocalDateTime creatTime;


    @Override
    protected Serializable pkVal() {
        return this.riId;
    }

}
